#if !defined(AFX_FLYROTATELGSPRITE_H__2C98DFE4_AEEF_487E_AD1E_D77E68A08280__INCLUDED_)
#define AFX_FLYROTATELGSPRITE_H__2C98DFE4_AEEF_487E_AD1E_D77E68A08280__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DynamicLgSprite.h"

class LOGICSPRITES_API FlyRotateLgSprite : public DynamicLgSprite  
{
public:
	FlyRotateLgSprite(float nSpeed,float th,float centerx,float centery,float ro,
		const vector<RectInBalloonElemnet_t>& listRect);
	virtual ~FlyRotateLgSprite();
	void Update(DWORD dwCurrentTime);
	D3DXVECTOR2 GetCurrentNormalDirection();
	//int Hit(RECT rect);
private:
	float m_nSpeed;//radius/s
	float m_th;//radius
	float m_centerx;
	float m_centery;
	float m_ro;
};

#endif // !defined(AFX_FLYROTATELGSPRITE_H__2C98DFE4_AEEF_487E_AD1E_D77E68A08280__INCLUDED_)
